package third.lib.zfb.login.app.model;

public class ZfbAppUserInfo {
    private String userId;
    private String city;
    private String nickName;
    private String avatar;
    private String province;
    private int gender;

    public ZfbAppUserInfo(String userId, String city, String nickName, String avatar, String province, int gender) {
        this.userId = userId;
        if (city == null) {
            city = "";
        }

        this.city = city;
        if (nickName == null) {
            this.nickName = "";
        } else {
            this.nickName = nickName;
        }

        if (avatar == null) {
            avatar = "";
        }

        this.avatar = avatar;
        if (province == null) {
            province = "";
        }

        this.province = province;
        this.gender = gender;
    }

    public String getUserId() {
        return this.userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getCity() {
        return this.city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getNickName() {
        return this.nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getAvatar() {
        return this.avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getProvince() {
        return this.province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public int getGender() {
        return this.gender;
    }

    public void setGender(int gender) {
        this.gender = gender;
    }
}
